package com.example.administrator.hqq.bean.post;

import java.util.List;

/**
 * @name: HQQ
 * @describe:
 * @author: 康海涛 QQ2541849981
 * @time: 2018/11/26 13:23
 * @remark:
 */
public class CommentDetailsBean {

    /**
     * code : 200
     * description : ok
     * data : {"id":"1e8f0755f05567aea7c7a45e60f013f3","text":"888","user_portrait_url":"http://phvao75wg.bkt.clouddn.com/user/portrait/111-1.180.70","user_nickname":"111","discussion":[{"user_portrait_url":"http://phvao75wg.bkt.clouddn.com/user/portrait/111-1.180.70","user_nickname":"111","type":1,"target_discussion_id":"1e8f08ac522ef582bbbba45e60f013f3","target_user_nickname":"111","text":"10","id":"1e8f0b41a1e124d4bd22a45e60f013f3","like_amount":0,"like_state":0,"time":1543151694000},{"user_portrait_url":"http://phvao75wg.bkt.clouddn.com/user/portrait/111-1.180.70","user_nickname":"111","type":0,"text":"9","id":"1e8f0b40c0ef103e8ee8a45e60f013f3","like_amount":0,"like_state":0,"time":1543151670000}]}
     */

    private int code;
    private String description;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1e8f0755f05567aea7c7a45e60f013f3
         * text : 888
         * user_portrait_url : http://phvao75wg.bkt.clouddn.com/user/portrait/111-1.180.70
         * user_nickname : 111
         * discussion : [{"user_portrait_url":"http://phvao75wg.bkt.clouddn.com/user/portrait/111-1.180.70","user_nickname":"111","type":1,"target_discussion_id":"1e8f08ac522ef582bbbba45e60f013f3","target_user_nickname":"111","text":"10","id":"1e8f0b41a1e124d4bd22a45e60f013f3","like_amount":0,"like_state":0,"time":1543151694000},{"user_portrait_url":"http://phvao75wg.bkt.clouddn.com/user/portrait/111-1.180.70","user_nickname":"111","type":0,"text":"9","id":"1e8f0b40c0ef103e8ee8a45e60f013f3","like_amount":0,"like_state":0,"time":1543151670000}]
         */

        private String id;
        private String text;
        private String user_portrait_url;
        private String user_nickname;
        private int like_amount;
        private int like_state;
        private int discussion_amount;
        private long time;

        public int getDiscussion_amount() {
            return discussion_amount;
        }

        public long getTime() {
            return time;
        }

        public void setDiscussion_amount(int discussion_amount) {
            this.discussion_amount = discussion_amount;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public void setLike_amount(int like_amount) {
            this.like_amount = like_amount;
        }

        public void setLike_state(int like_state) {
            this.like_state = like_state;
        }

        public int getLike_amount() {
            return like_amount;
        }

        public int getLike_state() {
            return like_state;
        }

        private List<DiscussionBean> discussion;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public String getUser_portrait_url() {
            return user_portrait_url;
        }

        public void setUser_portrait_url(String user_portrait_url) {
            this.user_portrait_url = user_portrait_url;
        }

        public String getUser_nickname() {
            return user_nickname;
        }

        public void setUser_nickname(String user_nickname) {
            this.user_nickname = user_nickname;
        }

        public List<DiscussionBean> getDiscussion() {
            return discussion;
        }

        public void setDiscussion(List<DiscussionBean> discussion) {
            this.discussion = discussion;
        }

        public static class DiscussionBean {
            /**
             * user_portrait_url : http://phvao75wg.bkt.clouddn.com/user/portrait/111-1.180.70
             * user_nickname : 111
             * type : 1
             * target_discussion_id : 1e8f08ac522ef582bbbba45e60f013f3
             * target_user_nickname : 111
             * text : 10
             * id : 1e8f0b41a1e124d4bd22a45e60f013f3
             * like_amount : 0
             * like_state : 0
             * time : 1543151694000
             */

            private String user_portrait_url;
            private String user_nickname;
            private int type;
            private String target_discussion_id;
            private String target_user_nickname;
            private String text;
            private String id;
            private int like_amount;
            private int like_state;
            private long time;
            public String getUser_portrait_url() {
                return user_portrait_url;
            }

            public void setUser_portrait_url(String user_portrait_url) {
                this.user_portrait_url = user_portrait_url;
            }

            public String getUser_nickname() {
                return user_nickname;
            }

            public void setUser_nickname(String user_nickname) {
                this.user_nickname = user_nickname;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getTarget_discussion_id() {
                return target_discussion_id;
            }

            public void setTarget_discussion_id(String target_discussion_id) {
                this.target_discussion_id = target_discussion_id;
            }

            public String getTarget_user_nickname() {
                return target_user_nickname;
            }

            public void setTarget_user_nickname(String target_user_nickname) {
                this.target_user_nickname = target_user_nickname;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getLike_amount() {
                return like_amount;
            }

            public void setLike_amount(int like_amount) {
                this.like_amount = like_amount;
            }

            public int getLike_state() {
                return like_state;
            }

            public void setLike_state(int like_state) {
                this.like_state = like_state;
            }

            public long getTime() {
                return time;
            }

            public void setTime(long time) {
                this.time = time;
            }
        }
    }
}
